#include "Global.h"
#ifndef _DYNAMICOBJECTS_H_
#define _DYNAMICOBJECTS_H_

#include "objects.h"

class CDynamicObjects :
	public CObjects
{
private:
public:
	bool Alive;
	int State;
	bool left;
	float _Vx, _Vy;
	float _lastVx, _lastVy;
	float _acceleration;
	int lastAnimation;
	float Gravity;
	int _lastPosX, _lastPosY;
public:
	CDynamicObjects(void);
	CDynamicObjects(int type,int id,D3DXVECTOR3 pos,RECT rect,int state,int TMove,int TAnimation);
	~CDynamicObjects(void);
	virtual void ProcessDying();
};

#endif